package timing.ukulele.portal.persistent;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import timing.ukulele.persistent.model.BaseIdWorkerModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "业务系统")
@TableName("c_system")
public class System extends BaseIdWorkerModel {

    @TableField("name")
    @ApiModelProperty(value = "名称")
    private String name;

    @TableField("code")
    @ApiModelProperty(value = "编码")
    private String code;

    @TableField("form_url")
    @ApiModelProperty(value = "业务系统配的申请表单模板的url")
    private String formUrl;

    @TableField("apply_url")
    @ApiModelProperty(value = "业务系统配的审批表单模板的url")
    private String applyUrl;

    @TableField("flow_url")
    @ApiModelProperty(value = "流程图配的添加表单模板的url")
    private String flowUrl;

    @TableField("app_secret")
    @ApiModelProperty(value = "第三方系统接入的秘钥")
    private String appSecret;
}
